import request from '@/utils/request/upload'

// 分片上传图片
export function fpFile(params: any) {
    return request.post({ url: '/server/file/upload_file', params })
}

// 分片上传视频
export function fpVideo(params: any) {
    return request.post({ url: 'server/video/upload_video', params })
}

// 富文本上传图片/视频
export function fpRichImg(params: any) {
    return request.post({ url: '/server/file/upload_file_normal', params })
}

// 播放视频
export function videoPlay(params: any) {
    return request.get({ url: '/server/video/show', params })
}
